
import request from '@/utils/request'


// 查询短信通知日志列表
export function listLog(query) {
  return request({
    url: '/notification/log/list',
    method: 'get',
    params: query
  })
}

// 查询短信通知日志详细
export function getLog(uuid) {
  return request({
    url: '/notification/log/' + uuid,
    method: 'get'
  })
}

// 新增短信通知日志
export function addLog(data) {
  return request({
    url: '/notification/log',
    method: 'post',
    data: data
  })
}

// 修改短信通知日志
export function updateLog(data) {
  return request({
    url: '/notification/log',
    method: 'put',
    data: data
  })
}

// 删除短信通知日志
export function delLog(uuid) {
  return request({
    url: '/notification/log/' + uuid,
    method: 'delete'
  })
}
